package com.monitor.modelDesc;

import lombok.Data;
import com.monitor.model.User;


import com.monitor.enums.UserShowFlagEnum;
import com.monitor.enums.UserDelFlagEnum;

/**
*    @author afeng
*    @Date 2025-03-17 10:50:14
*    @description UserDesc      用户信息
*/
@Data
public class UserDesc extends User {


    private String showFlagDesc;
    private String delFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=UserShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=UserDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

